//
//  UIColor+HexColor.h
//  CFFinanceProject
//
//  Created by chunfeng on 2018/4/9.
//  Copyright © 2018年 xiaowen. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 UIColor 的分类
 */

@interface UIColor (HexColor)

+ ( UIColor *)colorWithHexString:(NSString *)s;

- (NSString *) hexString;

+ (UIColor *) colorWithHex:(int)color;

+ (UIColor *) colorWithHexRed:(int)red green:(char)green blue:(char)blue alpha:(char)alpha;

+ (UIColor *) UIColorFromRGB:(int) rgbValue alpha:(float) alphaValue;

+ (UIColor *) colorWithIntegerRed:(float)red green:(float)green blue:(float)blue alpha:(float)alpha;

-(UIImage *)  colorTransformToImage;


@end
